package com.cac.demo.dao.wmsreturnapply;

import com.cac.demo.entity.materialScan.WmsDeliverPlanDTO;
import com.cac.demo.entity.wmsReturnApply.WmsReturnApplyDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface WmsReturnApplyDao {

    /*插入数据到退货申请表中*/
    public int insertWmsReturnApply(@Param("bean") WmsDeliverPlanDTO wmsDeliverPlanDTO, @Param("id") String id, @Param("status") String status);
    /*修改退库状态到退库申请表中*/
    public int changeReturnStatus(@Param("status") String returnStatus, @Param("id") String id);
    /*查询退货申请单数据*/
    public WmsReturnApplyDTO selectReturnApply(@Param("id") String id);
}
